body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
}

header .user-options a {
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
}

nav {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.go-intro, .game-controls, .go-board-section {
    text-align: center;
    margin: 30px 0;
}

.go-intro h1, .game-controls h2, .go-board-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.go-intro p, .game-controls p {
    font-size: 18px;
    color: #555;
}

/* 样式调整，确保按钮布局更清晰 */
.game-controls .buttons {
    margin-top: 20px;
}

.game-controls button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.game-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 棋盘布局部分 */
.go-board-section {
    text-align: center;
    margin-top: 40px;
}

.go-board {
    display: grid;
    grid-template-columns: repeat(15, 40px);
    grid-template-rows: repeat(15, 40px);
    gap: 2px;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid #333;
}

.go-board div {
    width: 40px;
    height: 40px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

   
}

.go-board div.black {
    background-color: black;
    border-color: black;
}

.go-board div.white {
    background-color: white;
    border-color: white;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}
